package com.deyuanyun.pic.ae.controller.vo;

import com.deyuanyun.pic.ae.domain.AEPipeline;

import java.math.BigDecimal;
import java.util.List;

/**
 * “第三方管道及设施” 审核 展示对象
 *
 * 方法详情：<br/>
 *
 * @author huanglw
 * @date  2016-11-9
 *
 * History: [修改人][时间][修改描述]
 */
public class AEPipeLineAuditVO extends AEPipeLineVO  {

    // 平行_起点x
    private BigDecimal beginX;
    // 平行_起点y
    private BigDecimal beginY;
    // 平行_起点z
    private BigDecimal beginZ;
    // 平行_终点x
    private BigDecimal endX;
    // 平行_终点y
    private BigDecimal endY;
    // 平行_终点z
    private BigDecimal endZ;
    // 交叉_x
    private BigDecimal crossX;
    // 交叉_y
    private BigDecimal crossY;
    // 交叉_z
    private BigDecimal crossZ;
    // 图片
    private List<ImgVO> imgList;

    public BigDecimal getBeginX() {
        return beginX;
    }

    public void setBeginX(BigDecimal beginX) {
        this.beginX = beginX;
    }

    public BigDecimal getBeginY() {
        return beginY;
    }

    public void setBeginY(BigDecimal beginY) {
        this.beginY = beginY;
    }

    public BigDecimal getBeginZ() {
        return beginZ;
    }

    public void setBeginZ(BigDecimal beginZ) {
        this.beginZ = beginZ;
    }

    public BigDecimal getEndX() {
        return endX;
    }

    public void setEndX(BigDecimal endX) {
        this.endX = endX;
    }

    public BigDecimal getEndY() {
        return endY;
    }

    public void setEndY(BigDecimal endY) {
        this.endY = endY;
    }

    public BigDecimal getEndZ() {
        return endZ;
    }

    public void setEndZ(BigDecimal endZ) {
        this.endZ = endZ;
    }

    public BigDecimal getCrossX() {
        return crossX;
    }

    public void setCrossX(BigDecimal crossX) {
        this.crossX = crossX;
    }

    public BigDecimal getCrossY() {
        return crossY;
    }

    public void setCrossY(BigDecimal crossY) {
        this.crossY = crossY;
    }

    public BigDecimal getCrossZ() {
        return crossZ;
    }

    public void setCrossZ(BigDecimal crossZ) {
        this.crossZ = crossZ;
    }

    public List<ImgVO> getImgList() {
        return imgList;
    }

    public void setImgList(List<ImgVO> imgList) {
        this.imgList = imgList;
    }

    @Override
    public void fromDomain(AEPipeline domain) {

        // 平行_起点x
        this.beginX = domain.getBeginX();
        // 平行_起点y
        this.beginY = domain.getBeginY();
        // 平行_起点z
        this.beginZ = domain.getBeginZ();
        // 平行_终点x
        this.endX = domain.getEndX();
        // 平行_终点y
        this.endY = domain.getEndY();
        // 平行_终点z
        this.endZ = domain.getEndZ();
        // 交叉_x
        this.crossX = domain.getCrossX();
        // 交叉_y
        this.crossY = domain.getCrossY();
        // 交叉_z
        this.crossZ = domain.getCrossZ();
        // 图片
        this.imgList = ImgVO.queryImgList(domain.getId());

        super.fromDomain(domain);
    }

}
